package com.atguigu.spzx.manager.mapper;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.sys.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-06-20:11
 */
@Mapper
public interface SysMenuMapper {

    List<SysMenu> findAll();

    Integer countChildrenById(Long id);

    void deleteById(Long id);

    SysMenu getById(Long id);

    void updateById(SysMenu sysMenu);

    void save(SysMenu sysMenu);

    List<SysMenu> findDynamicMenus(Long id);
}
